﻿using System.Collections.Generic;
using UnityEngine;

namespace HEFramework
{
    public enum MotionType
    {
        None,
        Idle,
        Run,
    }

    public class AnimatorComponent : Entity, IAwake, IUpdate, IDestroy
    {
        public Dictionary<string, AnimationClip> AnimationClips { get; set; } = new();
        public HashSet<string> Parameter { get; set; } = new();
        public MotionType MotionType { get; set; }
        public float MontionSpeed { get; set; }
        public bool IsStop { get; set; }
        public float StopSpeed { get; set; }
        public Animator Animator { get; set; }
    }
}